//
// Created by Arikes on 9/27/21.
//

#ifndef DESIGNERMODE_COLLEAGUE_H
#define DESIGNERMODE_COLLEAGUE_H

namespace MediatorMode
{
    class Mediator;
    class Colleague
    {
    public:
        void setMediator(Mediator* mediator)
        {
            _mediator = mediator;
        }

        virtual void receive() = 0;
        virtual void send() = 0;

    protected:
        Mediator* _mediator;
    };
}

#endif //DESIGNERMODE_COLLEAGUE_H
